/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
package com.erp.ledger.je.dao.model;

import org.apache.commons.lang.StringUtils;

import com.erp.ledger.je.dao.model.GLJeHead;

public class GLJeHeadCO extends GLJeHead implements java.io.Serializable {
    
	// serialVersionUID
	private static final long serialVersionUID = 1L;
	
    //查询字段
    private String jeStartDate;
    private String jeEndDate;
    
    
    
    /*
     * setter,getter方法
     */
    public String getJeStartDate() {
        if(StringUtils.isNotBlank(jeStartDate)) {
            return jeStartDate+" 00:00:00";
        }else {
            return jeStartDate;
        }
    }
    public void setJeStartDate(String jeStartDate) {
        this.jeStartDate = jeStartDate;
    }
    public String getJeEndDate() {
        if(StringUtils.isNotBlank(jeEndDate)) {
            return jeEndDate+" 23:59:59";
        }else {
            return jeEndDate;
        }
    }
    public void setJeEndDate(String jeEndDate) {
        this.jeEndDate = jeEndDate;
    }
    
}